home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d1
/
epromdeo.arc
/
SHIFTER.PLD
< prev
next >
Wrap
Text File
|
1989-04-22
|
1KB
|
60 lines
PAL DESIGN SPECIFICATION
PAT001 KEVIN M. OW-WING 6-22-85
4-BIT SLICE FOR AN 8 BIT BARREL SHIFTER
ADVANCED MICRO DEVICES
modified by SMS to demonstrate the output enable function
device 16r4;
CK 1
D7 2
D6 3
D5 4
D4 5
D3 6
D2 7
D1 8
D0 9
GND 10
/E 11
/ZERO 12
S0 13
Q0 14
Q1 15
Q2 16
Q3 17
S1 18
S2 19
VCC 20
macro f0 /S2*/S1*/S0;
macro f1 /S2*/S1* S0;
macro f2 /S2* S1*/S0;
macro f3 /S2* S1* S0;
macro f4 S2*/S1*/S0;
macro f5 S2*/S1* S0;
macro f6 S2* S1*/S0;
macro f7 S2* S1* S0;
start
Q3 /:= &f0*/D3 + &f1*/D2 + &f2*/D1 + &f3*/D0 +
&f4*/D7 + &f5*/D6 + &f6*/D5 + &f7*/D4;
Q2 /:= &f0*/D2 + &f1*/D1 + &f2*/D0 + &f3*/D7 +
&f4*/D6 + &f5*/D5 + &f6*/D4 + &f7*/D3;
Q1 /:= &f0*/D1 + &f1*/D0 + &f2*/D7 + &f3*/D6 +
&f4*/D5 + &f5*/D4 + &f6*/D3 + &f7*/D2;
Q0 /:= &f0*/D0 + &f1*/D7 + &f2*/D6 + &f3*/D5 +
&f4*/D4 + &f5*/D3 + &f6*/D2 + &f7*/D1;
/ZERO.ENA = /S0*/S1*/S2;
/ZERO /= /D0*/D1*/D2*/D3*/D4*/D5*/D6*/D7;
end